<h1>Tìm kiếm
    <b><i><?php echo $keyword ?></i></b>
</h1>


<?php if (count($model) > 1) { ?>
    <div id="list_box_content">
        <ul>
            <?php foreach ($model as $key => $item) {
                if ($key == 0) continue; ?>

                <li <?php echo ($key + 1) % 2 ? ' class="margin_24px"' : '' ?>>
                    <strong>
                        <a href="<?php echo TreTodayUrl::getNewsUrl($item->newsid, $item->title) ?>">
                            <img src="<?php echo TreTodayUrl::home() . '/images/graphics/blank.gif' ?>"
                                 alt="Rao vặt hot - <?php echo $item->title ?>" height="80" width="80"
                                 style="background:url(' . <?php echo TreTodayCommon::getPictureUrl($item->picture) ?> . ') no-repeat center center"/>
                        </a>
                    </strong>

                    <div>
                        <h1>
                            <a href="<?php echo TreTodayUrl::getNewsUrl($item->newsid, $item->title) ?>"> <?php echo $item->title ?> </a>
                        </h1>
                        <label>  <?php echo $item->short ?>  </label>
                    </div>
                </li>
            <?php
            }?>
        </ul>
    </div>
<?php } ?>
<br>

<div class="banner_468x60">
    <iframe id="aec13adf" name="aec13adf"
            src="http://ads.tretoday.net/www/delivery/afr.php?n=aec13adf&amp;zoneid=41&amp;cb=INSERT_RANDOM_NUMBER_HERE"
            framespacing="0" frameborder="no" scrolling="no" width="468" height="60">
        <a
            href="http://ads.tretoday.net/www/delivery/ck.php?n=afe97670&amp;amp;cb=INSERT_RANDOM_NUMBER_HERE"
            target="_blank">
            <img
                src="http://ads.tretoday.net/www/delivery/avw.php?zoneid=41&amp;amp;cb=INSERT_RANDOM_NUMBER_HERE&amp;amp;n=afe97670"
                border="0" alt=""/>
        </a>
    </iframe>
</div>

<?php if ($item_count > Yii::app()->params['frontendSearchPageSize']) { ?>
    <div class="tool_mess">
        <?php $this->widget('CLinkPager', array(
            'currentPage' => $pages->getCurrentPage(),
            'itemCount' => $item_count,
            'pageSize' => $page_size,
            'maxButtonCount' => 5,
            'header' => '',
            'firstPageLabel' => '<<',
            'lastPageLabel' => '>>',
            'nextPageLabel' => 'Sau',
            'prevPageLabel' => 'Trước',
            'selectedPageCssClass' => 'active',
            'hiddenPageCssClass' => 'disabled',
            'htmlOptions' => array(
                "class" => "pagination"
            ),
        ));
        ?>
    </div>

<?php } ?>
